@charset "utf-8";
@mixin wh($width, $height) {
    width: $width;
    height: $height;
}

body {
    min-width: 1280px;
    .web {
        @include wh(100%, 100%);
        header {
            width: 100%;
            .top {
                background: #dfdfde;
                height: 40px;
                line-height: 40px;
                .main {
                    width: 995px;
                    margin: 0 auto;
                    span {
                        font-size: 14px;
                        padding-left: 10px;
                    }
                    .link {
                        a {
                            font-size: 14px;
                            color: black;
                            margin-left: 25px;
                            &:nth-of-type(2) {
                                padding-right: 23px;
                            }
                        }
                    }
                }
            }
            nav {
                @include wh(100%, 96px);
                margin: 0 auto;
                .navmain {
                    @include wh(995px, 96px);
                    margin: 0 auto;
                    .logo {
                        display: inline-block;
                        @include wh(300px, 96px);
                        float: left;
                    }
                    ul {
                        margin-right: 17px;
                        margin-top: -1px;
                        li {
                            padding-top: 28px;
                            text-align: center;
                            float: left;
                            @include wh(85px, 96px);
                            box-sizing: border-box;
                            font-size: 14px;
                            font-weight: bold;
                            &:hover {
                                background: #ece9e9;
                                border-bottom: 3px solid #3c9cd3;
                            }
                            a {
                                color: black;
                                line-height: 23px;
                            }
                        }
                        .active {
                            background: #ece9e9;
                            border-bottom: 3px solid #3c9cd3;
                        }
                    }
                }
            }
        }
    }
}